package com.project.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.gitee.sunchenbin.mybatis.actable.annotation.Column;
import com.gitee.sunchenbin.mybatis.actable.annotation.Table;
import com.gitee.sunchenbin.mybatis.actable.constants.MySqlTypeConstant;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * @author 
 */
@Data
@ApiModel(value = "移动端首页配置")
@TableName(value = "cms_home_conf")
@Table(name = "cms_home_conf", comment = "移动端首页配置")
public class CmsHomeConf implements Serializable {
    /**
     * 首页配置ID
     */
    @TableId
    @ApiModelProperty(value = "首页配置ID")
    @Column(type= MySqlTypeConstant.BIGINT,comment = "首页配置ID", length = 11, isKey = true, isAutoIncrement = true,isNull = false)
    private Long homeId;

    /**
     * 轮播图
     */
    @ApiModelProperty(value = "轮播图")
    @Column(comment = "轮播图")
    private String rotationChart;

    /**
     * 分类1
     */
    @ApiModelProperty(value = "分类1")
    @Column(comment = "分类1")
    private String type1;

    /**
     * 分类2
     */
    @ApiModelProperty(value = "分类2")
    @Column(comment = "分类2")
    private String type2;

    /**
     * 分类3
     */
    @ApiModelProperty(value = "分类3")
    @Column(comment = "分类3")
    private String type3;

    /**
     * 分类4
     */
    @ApiModelProperty(value = "分类4")
    @Column(comment = "分类4")
    private String type4;

    /**
     * 中部广告
     */
    @ApiModelProperty(value = "中部广告")
    @Column(comment = "中部广告")
    private String centerAdvert;

    /**
     * 中部商品
     */
    @ApiModelProperty(value = "中部商品")
    @Column(comment = "中部商品")
    private String centerProduct;

    /**
     * 推荐商品
     */
    @ApiModelProperty(value = "推荐商品")
    @Column(comment = "推荐商品")
    private String recommendProduct;

    private static final long serialVersionUID = 1L;

}